package com.vogue.supplymall.order.domain.model;

import java.io.Serializable;

import javax.persistence.Entity;
import javax.persistence.Table;

/**
 * The type Order buyer.
 */
@Entity
@Table(name = "order_cancel")
public class OrderCancel extends TendBaseEntity implements Serializable{
    /**
	 * 
	 */
	private static final long serialVersionUID = -6642718499578861264L;
	/**
     * 订单id
     */
    private Long orderid;
    /**
     * 买家系统注册号id
     */
    private Long syscodeid;
    /**
     * 申请取消状态
     * 0:未申请 1:申请取消 2:卖家同意 3:卖家不同意
     */
    private Integer cancelstate;
    /**
     * 订单取消原因
     * 1:操作有误(地址选错,商品选错) 2:重复下单 3:价格有变 4:不想买了 5:其他原因
     */
    private Integer cancelcause;
    /**
     * 其他原因说明
     */
    private String othercause;

    public Long getOrderid() {
        return orderid;
    }

    public void setOrderid(Long orderid) {
        this.orderid = orderid;
    }

    public Long getSyscodeid() {
        return syscodeid;
    }

    public void setSyscodeid(Long syscodeid) {
        this.syscodeid = syscodeid;
    }

    public Integer getCancelstate() {
        return cancelstate;
    }

    public void setCancelstate(Integer cancelstate) {
        this.cancelstate = cancelstate;
    }

    public Integer getCancelcause() {
        return cancelcause;
    }

    public void setCancelcause(Integer cancelcause) {
        this.cancelcause = cancelcause;
    }

    public String getOthercause() {
        return othercause;
    }

    public void setOthercause(String othercause) {
        this.othercause = othercause;
    }
}